> t.test(boy, girl, var.equal=TRUE)
Two Sample t-test
data: boy and girl
t = -1.2042, df = 17, p-value = 0.245
alternative hypothesis: true difference in means is not equal to 0
95 percent confidence interval:
-25.227616 6.894283
sample estimates:
mean of x mean of y
43.33333 52.50000
> t.test(boy, girl)
Welch Two Sample t-test
data: boy and girl
t = -1.2239, df = 16.438, p-value = 0.2382
alternative hypothesis: true difference in means is not equal to 0
95 percent confidence interval:
-25.00961 6.67628
sample estimates:
mean of x mean of y
43.33333 52.50000